import math
a=float(input("Enter the value of a："))
b=float(input("Enter the value of b："))
c=float(input("Enter the value of c："))
if a!=0:
    data=(b**2-4*a*c)
    if data<0:
        print("No solution")
    elif data==0:
        s=-b/(2*a)
        print("Unique solution:",s)
    elif data>0:
        root=math.sqrt(data)
        x1=(-b+root)/(2*a)
        x2=(-b-root)/(2*a)
        print("x1=",x1,"\t","x2=",x2)
elif a==0:
    root=-b/c
    print("x=",root)



